#define _CRT_SECURE_NO_WARNINGS

#include "BinaryTree.h"

BTNode* CreatNode(BTDataType x)
{
	BTNode* p = (BTNode*)malloc(sizeof(BTNode));
	p->x = x;
	p->left = p->right = NULL;
	return p;
}





int main()
{
	BTNode* A = CreatNode('A');
	BTNode* B = CreatNode('B');
	BTNode* C = CreatNode('C');
	BTNode* D = CreatNode('D');
	BTNode* E = CreatNode('E');
	BTNode* F = CreatNode('F');
	A->left = B;
	A->right = C;
	B->left = D;
	C->left = E;
	C->right = F;
	
	PrevOrder(A);

	return 0;
}
